package api

import (
	goods1 "goods-rpc/internal/api/goods"
	order1 "goods-rpc/internal/api/order"
	user1 "goods-rpc/internal/api/user-shop"
	good "goods-rpc/proto/goods"
	"goods-rpc/proto/order"
	users "goods-rpc/proto/user"
	"google.golang.org/grpc"
)

func RegisterRpc(s *grpc.Server) {
	good.RegisterGoodServer(s, &goods1.GoodsService{})
	users.RegisterUsersServer(s, &user1.UserRpcService{})
	order.RegisterOrderServer(s, &order1.OrderRpcService{})
}
